<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ page isELIgnored="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<jsp:useBean id="settings" class="hufs.twotwoco.object.SettingBean" />
<html>
<head>
<meta http-equiv="Content-Type" content="text/html charset=utf-8">
<title>커피빈에 오신것을 환영합니다.</title>
<style type="text/css">
p {
	font-size: 30px;
	font-family: HY궁서;
}

q {
	font-size: 13px;
	font-family: 맑은 고딕;
}

r {
	font-size: 13px;
	font-family: HY궁서;
}

center {
	style ="text-align: center";
}
</style>
</head>
<body>
	<center>
		<img
			src="http://postfiles11.naver.net/20121203_58/loving_you__1354462476439H4FLN_JPEG/the_coffee_bean__tea_leaf.jpg?type=w3"
			; width="550" ; height="302" ; border="0";>
	</center>
	<div id="logo">
		<strong><center>
				<p>The Coffee Bean & Tea Leaf</p>
			</center></strong>
	</div>
	<c:choose>
		<c:when test="${server_info==null}">
			<center>
				<q>로그인 해주세요!</q>
			</center>
			<center>
				<a href="/server/login/"><q>Login</q></a>
			</center>
			<br\>
		</c:when>
		<c:otherwise>
			<center>
				<a href="/server/read/"><q>조회</q></a>
			</center>
			<br\>
			<center>
				<h1>
					<q>${server_info.nickname}</q>
				</h1>
				<br\> <a href="/server/"><q>정보 입력</q></a> / <a
					href="${settings.logoutPath}"><q>Logout</q></a>
			</center>
			<br\>
		</c:otherwise>
	</c:choose>
	</div>
</body>
</html>